import random
from my_package import my_tools,my_games
# 随机小数
a = random.random()
print(a)
# 生成一个随机整数
a = random.randint(1, 200)
print(a)

list1 = [1,2,3,4,5,6]
print(list1[random.randint(0, len(list1)-1)])
print(random.choice(list1))

# 生成一个随机字母组成的列表
print(my_tools.yan_zheng_ma(5))

random.shuffle(list1)
print(list1)

my_games.guess_number(1,1000)
